import Vue from 'vue'
import App from './App.vue'

import VueRouter from 'vue-router'

import router from './router/index.js'

import ajax from './service/ajax.js'


import store from './store/index.js'


Vue.use(VueRouter)

Vue.config.productionTip = false


Vue.prototype.ajax = ajax


// element-ui 库 和element-ui的样式
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

Vue.use(ElementUI)


import login from './disviews/Login'

Vue.component("login",login)//



new Vue({
  store:store,
  router:router,
  render: h => h(App),
}).$mount('#app')
